package com.jarveis.dbs.shfc.common.bean;

import java.io.Serializable;
import java.util.Date;

import com.jarveis.frame.jdbc.ant.Column;
import com.jarveis.frame.jdbc.ant.Table;

/**
 * 短信类
 * 
 * @author liuguojun
 */
@Table(name = "C_SMS")
public class SmsBean implements Serializable {

	@Column(name = "ACCOUNT_TYPE")
	private String accountType; // 短信类型(1.出票通知短信 2.中奖通知短信)
	@Column(name = "SMS_FROM")
	private String smsFrom; // 发送号码;
	@Column(name = "SMS_TO")
	private String smsTo; // 接受号码;
	@Column(name = "SMS_BODY")
	private String smsBody; // 短信内容;
	@Column(name = "SMS_CODE")
	private String smsCode; // 验证码内容;
	@Column(name = "CREATE_DATE")
	private Date createDate; // 入库时间
	@Column(name = "SEND_DATE")
	private Date sendDate; // 发送时间
	@Column(name = "AGENT_CODE")
	private String agentCode; // 代理商编号
	@Column(name = "USER_ID")
	private String userId; // 用户编号
	@Column(name = "IS_VALID")
	private String isValid; // 有效标识(默认是0)
	@Column(name = "IS_SUCC")
	private String isSucc; // 发送状态:(1:成功;0:失败;-1:未发送)
	@Column(name = "CASTID")
	private String castid; // 订单编号
	@Column(name = "PINDEX")
	private String pindex; // 批次大订单号
	@Column(name = "DINDEX")
	private String dindex; // 批次小订单号
	@Column(name = "SMS_TYPE")
	private String smsType; // 0:发送短信(上行);1:接受短信(下行) 默认:0(上行)
	@Column(name = "STIME")
	private String stime; // 定时发送时间
	@Column(name = "ETIME")
	private String etime; //
	@Column(name = "IP")
	private String ip; // 请求IP

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public String getSmsFrom() {
		return smsFrom;
	}

	public void setSmsFrom(String smsFrom) {
		this.smsFrom = smsFrom;
	}

	public String getSmsTo() {
		return smsTo;
	}

	public void setSmsTo(String smsTo) {
		this.smsTo = smsTo;
	}

	public String getSmsBody() {
		return smsBody;
	}

	public void setSmsBody(String smsBody) {
		this.smsBody = smsBody;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(String smsCode) {
		this.smsCode = smsCode;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public String getIsSucc() {
		return isSucc;
	}

	public void setIsSucc(String isSucc) {
		this.isSucc = isSucc;
	}

	public String getCastid() {
		return castid;
	}

	public void setCastid(String castid) {
		this.castid = castid;
	}

	public String getPindex() {
		return pindex;
	}

	public void setPindex(String pindex) {
		this.pindex = pindex;
	}

	public String getDindex() {
		return dindex;
	}

	public void setDindex(String dindex) {
		this.dindex = dindex;
	}

	public String getSmsType() {
		return smsType;
	}

	public void setSmsType(String smsType) {
		this.smsType = smsType;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public String getEtime() {
		return etime;
	}

	public void setEtime(String etime) {
		this.etime = etime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

}